From: Andreas Beckmann Date: Mon, 4 Feb 2019 23:39:59 +0000 (+0000) Subject: do not link with --rtlib=compiler-rt X-Git-Tag: archive/raspbian/1.6-3+rpi1~1^2^2~4 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f11cdf2a6b00c0f810a1370bce8301f4ed1cb913;p=pocl.git do not link with --rtlib=compiler-rt that library is not available on most architectures and does not seem to be needed at all fixes a testsuite error on armhf Gbp-Pq: Name no-compiler-rt.patch --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 04a83a1..d3f6837 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -717,9 +717,9 @@ elseif(WIN32) set(LIBMATH) endif() -if(LINK_WITH_CLANG AND (CLANG_HAS_RTLIB_128 OR CLANG_HAS_RTLIB)) - set(DEFAULT_HOST_LD_FLAGS "${DEFAULT_HOST_LD_FLAGS} --rtlib=compiler-rt") -endif() +#if(LINK_WITH_CLANG AND (CLANG_HAS_RTLIB_128 OR CLANG_HAS_RTLIB)) +# set(DEFAULT_HOST_LD_FLAGS "${DEFAULT_HOST_LD_FLAGS} --rtlib=compiler-rt") +#endif() ######################################################################################